﻿using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Blo
{
    public class DictTitleBlo
    {
        public static TableTitle GetTableTitle(string id)
        {
            return DictDataManager.Instance.tableTitleDao.GetById(id);
        }

        public static List<TableTitle> GetAllTitles()
        {
            return DictDataManager.Instance.tableTitleDao.CacheList;
        }
    }
}

